<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script type="text/javascript" src="../../jQuery/jquery-3.4.1.js"></script>
		<script type="text/javascript">
			$(function(){
				$("p").parent(".lvye").css("color","green")
			})
		</script>
	</head>
	<body>
		<div><p>绿叶学习网jQuery入门教程</p></div>
		<div class="lvye"><p>绿叶学习网jQuery入门教程</p></div>
		<div><p>绿叶学习网jQuery入门教程</p></div>
	</body>
</html>
